package dao;


import java.sql.SQLException;
import java.util.ArrayList;

import Model.Person;

public interface DAO 
{
	public void Connect() throws Exception;
	public void Disconnect() throws Exception;
	public void Create(ArrayList<Person> list) throws Exception;
	public void Update(Person person) throws Exception;
	public void Delete(int id) throws Exception ;
	public void DeleteAll() throws Exception ;
	public Person Read(int id) throws Exception ;
	public ArrayList<Person> ReadAll() throws Exception;
	public int MaxId() throws SQLException; 
}
